Skip to content

Conversation

Rich-Harris
Copy link
Member

@Rich-Harris Rich-Harris commented Nov 2, 2024

step one of #59 — create a new workflow that runs on a docs-preview-create repository dispatch. The idea is that every push to a PR on svelte or kit or cli will cause a preview branch to be created.

TODO

  • see if this actually works (need to merge it to find out; will probably need to mess around with PATs in order to create and push branches, not sure if the provided token has those permissions)
  • set up workflows on the other repos
  • figure out how to add a comment on the PR with a link to the preview deployment (but only if docs were affected)
  • set up a workflow to delete the branch when the PR is closed/merged

@Rich-Harris Rich-Harris merged commit f4deccd into main Nov 2, 2024
5 checks passed
@Rich-Harris Rich-Harris deleted the doc-previews branch November 2, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant